package cn.itsource.hrm.mapper;

import cn.itsource.hrm.domain.Tenant;
import cn.itsource.hrm.query.TenantQuery;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.baomidou.mybatisplus.plugins.Page;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author yaosang
 * @since 2022-01-02
 */
public interface TenantMapper extends BaseMapper<Tenant> {

    List<Tenant> loadPageList(Page<Tenant> page, @Param("query") TenantQuery query);

    void saveTenatMeals(Map<String, Long> params);
}
